package com.cwl.pattern.命令模式;

/**
 * @program: pattern
 * @description: 测试用例
 * @author: ChenWenLong
 * @create: 2019-07-04 16:00
 **/
public class CommandPattern {

    public static void main(String[] args) {
        Command cmd=new ConcreteCommand();
        Invoker ir=new Invoker(cmd);
        System.out.println("客户访问调用者的call()方法...");
        ir.call();
    }
}
